<template>
    <div class="bottom-box">
        <router-link to="/home" tag="div" class="item">
            <i class="iconfont icon-home"></i>
            <span>首页</span>
        </router-link>
        <router-link to="/type" tag="div" class="item">
            <i class="iconfont icon-type"></i>
            <span>分类</span>
        </router-link>
        <router-link to="/cart" tag="div" class="item">
            <i class="iconfont icon-cart"></i>
            <span>购物车</span>
        </router-link>
        <router-link to="/about" tag="div" class="item">
            <i class="iconfont icon-about"></i>
            <span>关于我</span>
        </router-link>
    </div>
</template>
<script>
export default {
    
}
</script>
<style lang="less" scoped>
.bottom-box{
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    display: flex;
    flex-flow: row nowrap;
    text-align: center;
    border-top: 1PX solid @66;
    height: @h;
    align-items: center;
    box-sizing: border-box;
    background-color: white;
    .item{
        width: 100% / 4;
        cursor: pointer;
        >span{
            display: block;
            padding-top: 6px;
            font-size: 28px;
        }
        >.iconfont{
            font-size: 42px;
        }
    }
    .exactActive,.active{
        color: @pink;
    }
}
</style>
